INCLUDE_DIRECTORIES(${FLTK_INCLUDE_DIR})
IF(USE_ITK)
  IF(HAVE_GL)
    SET(FPTK_Fl_SRCS
      Fl_Gl_ITK.cpp
      Fl_Gl_ITK.h
      )
  ENDIF(HAVE_GL)
ENDIF(USE_ITK)

INCLUDE_DIRECTORIES(${FPTK_SOURCE_DIR}/Common/)

  IF(HAVE_GL)
    SET(FPTK_Fl_SRCS
    ${FPTK_Fl_SRCS}
      Fl_Window_Image2OpenGLBox.cpp
      Fl_Window_Image2OpenGLBox.h
      )
  ENDIF(HAVE_GL)


SET(FPTK_Fl_SRCS ${FPTK_Fl_SRCS}
  Fl_Wait.cpp
  Fl_Wait.h
)

ADD_LIBRARY(FPTK_Fl ${FPTK_Fl_SRCS})
